public class Test {
    public static void main(String[] args) {
        Computer computer=new Computer("aaa","i7","16G","13*13");
        System.out.println(computer.brand);//defalt属性:只能被本包中类访问
        System.out.println(computer.screen);//public属性:可以任何其他类访问
        //System.out.println(computer.cpu); //private属性:只能在Computer类中访问,不能被其他类访问
    }
}